<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<ui:composition template="PaginaInicio.html.xhtml">

	<ui:define name="content">
	<h:form>
	<f:loadBundle basename="resources.Usuario" var="varsita" />
	</h:form>
		<center>
			<h1>
				<h:outputText style="BACKGROUND-COLOR: #c0c0c0;"
					value="#{varsita.ident}" />
			</h1>
			<h:form>
				<h:panelGrid columns="3">


					<h:outputLabel id="nick" value="#{varsita.Asterisco}#{varsita.nickname}" for="txtNick" />
					<h:inputText id="txtNick" value="#{usuarioBean.nickUser}"
						label="nick" required="true" />
					<h:message id="mjNick" for="txtNick" style="color:red" />

					<h:outputLabel id="Password" value="#{varsita.Asterisco}#{varsita.password}" for="txtPass" />
					<h:inputSecret id="txtPass" value="#{usuarioBean.password}"
						label="Password" required="true" />
					<h:message id="mjPass" for="txtPass" style="color:red" />

				</h:panelGrid>
				
				<h:commandButton value="Ingresar" action="#{usuarioBean.loginUsuario}"/>
				<br></br>
				

			</h:form>
			
			<h:form>
			<h:commandLink value="#{varsita.atras}" action="Taringa.html.xhtml"></h:commandLink>
			</h:form>


		</center>

	</ui:define>
	<ui:define name="footer">
	</ui:define>
</ui:composition>
</html>